package com.etv.launcher.model.pojo;

import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Shader;
import android.graphics.drawable.BitmapDrawable;

public class TileDrawable extends BitmapDrawable {
    public TileDrawable(Resources res, Bitmap bitmap) {
        super(res, bitmap);
        setTileModeXY(Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); // 设置平铺模式
    }
}
